package com.ddwl.schema.vo.goods;

import com.ddwl.schema.vo.base.BaseVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;

/**
 * 抽奖
 *
 * @author Fu Zhaohui
 */
@ApiModel(description = "抽奖Bo")
@Setter
@Getter
public class AwardVo extends BaseVo {

    @ApiModelProperty("主键")
    private String id;
    @ApiModelProperty("Code")
    private String code;
    @ApiModelProperty("奖品名称")
    private String name;
    @ApiModelProperty("封面图片")
    private String coverImg;
    @ApiModelProperty("价值金额")
    private BigDecimal amount;
    @ApiModelProperty("奖品类型")
    private int type;
    @ApiModelProperty("库存")
    private int stock;
    @ApiModelProperty("概率")
    private float probability;
}